Automatic Correction to Safety Violations in Programs

نویسندگان

  • Muhammad Umar Janjua
  • Alan Mycroft
چکیده

Our goal is an automatic, compile-time and incremental technique to compute corrections to safety property violations in a program. For a program P containing a set of violating traces T with respect to a given safety property, our method incrementally transforms P into a new correct program Pc such that Pc no longer exhibits the same behaviour as T . While making these series of Correcting Transformations (CT), we ensure that first, previous correct behaviours in the erroneous program are preserved in the corrected program as well, and second, no new error traces are introduced with respect to the given property. In this paper, we address those safety property violations resulting from incorrect interleavings of threads in a program. We analyse program computation trees and insert thread blocking primitives in the program in such a way that only erroneous program paths are pruned.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Runtime Enforcement of Memory Safety for the C Programming Language

Title of dissertation: Runtime Enforcement of Memory Safety for the C Programming Language Matthew Stephen Simpson, Doctor of Philosphy, 2011 Dissertation directed by: Professor Rajeev Barua Memory access violations are a leading source of unreliability in C programs. Although the low-level features of the C programming language, like unchecked pointer arithmetic and explicit memory management,...

متن کامل

Certifying Measurement Unit Safety Policy

Measurement unit safety policy checking is a topic in software analysis concerned with ensuring that programs do not violate basic principles of units of measurement. Such violations can hide significant domain-specific errors which are hard or impossible to find otherwise. Measurement unit analysis by means of automatic deduction is addressed in this paper. We draw general design principles fo...

متن کامل

Ironclad C + + A Library - Augmented Type - Safe Subset of C + + Christian DeLozier Richard

C++ remains a widely used programming language, despite retaining many unsafe features from C. These unsafe features often lead to violations of type and memory safety, which manifest as buffer overflows, use-after-free vulnerabilities, or abstraction violations. Malicious attackers are able to exploit such violations to compromise application and system security. This paper introduces Ironclad...

متن کامل

Verifying Safety Properties Related to Reachability Problems in Software Programs

With the success of formal verification techniques like equivalence checking and model checking for hardware designs, there has been growing interest in applying such techniques for formal analysis and automatic verification of software programs. The majority of work carried out in the formal methods community throughout the last three decades has been devoted to special languages designed to m...

متن کامل

Effect of a Manager Training and Certification Program on Food Safety and Hygiene in Food Service Operations

Food safety is an important public health issue in the U.S. Eating at restaurants and other food service facilities increasingly has been associated with food borne disease outbreaks. Food safety training and certification of food mangers has been used as a method for reducing food safety violations at food service facilities. However, the literature is inconclusive about the effectiveness of s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006